<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>DT-CHAT</title>
  <link rel="shortcut icon" href="../static/img/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" type="text/css" href="../static/js/layui-v2.9.7/layui/css/layui.css">
  <link rel="stylesheet" type="text/css" href="../static/css/style.css">
  <link rel="stylesheet" type="text/css" href="../static/css/rolemanagement.css">
</head>

<body>

  <div class="app">
    <div class="left-block">
      <img style="width: 1.66rem;height: .35rem;margin-top: .1rem;margin-left: .1rem;" src="../static/img/logo.png">
      <div class="version">当前版本：v1.0.1</div>
      <div class="left-btns">
        <div class="left-btns-item" onclick="window.location.href='./index.html'">
          <img src="../static/img/icon1.png"><span>对话</span>
        </div>
        <div class="left-btns-item" onclick="window.location.href='./knowledgebasemanagement.html'">
          <img src="../static/img/icon2.png"><span>知识库管理</span>
        </div>
        <div class="left-btns-item active" onclick="window.location.href='./rolemanagement.html'">
          <img src="../static/img/icon18.png"><span>对话人设管理</span>
        </div>
        <div class="left-btns-item" onclick="window.location.href='./questionmanagement.html'">
          <img src="../static/img/icon3.png"><span>常用问题管理</span>
        </div>
        <div class="left-btns-item" onclick="window.location.href='./usermanagement.html'">
          <img src="../static/img/icon23.png"><span>用户管理</span>
        </div>
      </div>
      <div style="position: absolute;bottom: .2rem;width: 100%;text-align: center;">
        <button type="button" class="layui-btn layui-btn-sm layui-bg-blue" onclick="showEditPasswordWindow()">
          <i class="layui-icon layui-icon-username"></i>
          我的
        </button>
        <button type="button" style="border: .01rem solid #A3CAFF;color: #9EC7FF !important;"
          class="layui-btn layui-btn-sm layui-btn-primary layui-border" onclick="logout()">
          <i class="layui-icon layui-icon-logout"></i>
          退出
        </button>
      </div>
    </div>
    <div class="right-block">
      <div class="table-tool layui-form">
        <div>
          <div class="layui-input-inline">
            <input type="text" name="name" placeholder="请输入对话人设名称" class="layui-input">
          </div>
          <div class="layui-input-inline">
            <button type="button" class="layui-btn" id="search-btn" lay-submit lay-filter="search">
              <i class="layui-icon layui-icon-search"></i>
              查询
            </button>
          </div>
        </div>
        <div class="tool-btns">
          <button type="button" class="layui-btn" onclick="showAddWindow('1')">
            <i class="layui-icon layui-icon-add-circle"></i>
            新增
          </button>
        </div>
      </div>
      <div class="table" style="padding: 0 .2rem;">
        <table class="layui-hide" id="table"></table>
      </div>
    </div>
  </div>
  <script type="text/javascript" src="../static/js/layui-v2.9.7/layui/layui.js"></script>
  <script type="text/javascript" src="../static/js/jquery/jquery.min.js"></script>
  <script type="text/javascript" src="../static/js/app.js"></script>
  <script type="text/javascript" src="../static/js/rolemanagement.js"></script>
</body>

</html>